package com.demo4.controller;


import com.demo4.component.StudentComponent;
import com.demo4.model.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

@Controller
public class StudentController {

    @Autowired
    private StudentComponent students;

    public StudentComponent getStudent() {
        return students;
    }

}
